public class q36 {
    public static void main(String[] args) {
        int a=1;
        int b=0;
        while (a<10000){
            if (a%9==0){
                System.out.print(a+",");
                b++;
                if (b%20==0){
                    System.out.print("\n");
                }
            }a++;
        }
    }
}
